home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
fg
/
fgfdemo
/
fgfdemo.doc
< prev
next >
Wrap
Text File
|
1993-07-16
|
9KB
|
175 lines
FGFDEMO version 1.2
July 17, 1993
Ted Gruber Software Voice: (702) 735-1980
PO Box 13408 FAX: (702) 735-4603
Las Vegas, NV 89112 BBS: (702) 796-7134
CIS: 72000,1642
------------------------------------------------------------------------------
FGFDEMO -- The Fastgraph/Fonts Demo Program
------------------------------------------------------------------------------
This program illustrates some features of Fastgraph/Fonts. Fastgraph/Fonts
lets you easily add bit-mapped character support to Fastgraph applications.
The product includes 40 font files in several point sizes. A program can
load up to 32 fonts simultaneously. Font files shipped with Fastgraph/Fonts
may be distributed without royalties in your applications.
An application can load fonts automatically or manually. Automatic loading
of a font means that Fastgraph/Fonts reads the font data from a font file and
dynamically allocates memory for the font. Manual loading means your program
is responsible for memory allocation and reading the font file; you then pass
the memory block address containing the font data to an FG/Fonts routine that
defines the font for use with other routines. Manual loading will be useful
for compilers that prefer to control all memory allocation at the high level.
Here is an alphabetical list of the functions in Fastgraph/Fonts:
fgf_define Make externally loaded font data available to FG/Fonts
fgf_drop Return number of pixel rows descender characters extend
below the other characters in the current font
fgf_handle Return the font handle for the current font
fgf_height Determine the height in pixels of a character string when
displayed in the current font
fgf_justify Define horizontal and vertical justification settings for
strings displayed with fgf_print
fgf_load Load a font from an external file
fgf_print Display characters from the current font
fgf_select Make the specified font the current font
fgf_space Define the width of the space character for the current font
fgf_undefine Release font handle for font loaded with fgf_define
fgf_unload Release font handle for font loaded with fgf_load and also
release the memory used by the font
fgf_version Return Fastgraph/Fonts version number
fgf_width Determine the width in pixels of a character string when
displayed in the current font
The Fastgraph/Fonts manual includes a detailed description of the font file
format, so you can create your own font files. PCX templates and a MAKEFONT
utility are included to assist in font file creation.
Fastgraph/Fonts requires any version of Fastgraph or Fastgraph/Light.
------------------------------------------------------------------------------
Distribution Files
------------------------------------------------------------------------------
The files in FGFDEMO.ZIP are:
FGFDEMO.DOC this file
FGFDEMO.EXE executable program (created with Turbo Pascal 6.0)
FGFDEMO.C C source code for the demo program
FGFDEMO.PAS Turbo Pascal source code for the demo program
ORDER.FRM product order form
AUSTIN36.FGF font files used in the demo program
BRODWY18.FGF
COGNAC19.FGF
CRYSTL14.FGF
CRYSTL26.FGF
FOUNTN27.FGF
MODERN28.FGF
PLAZA14.FGF
REGAL24.FGF
ROYAL15.FGF
STNDRD08.FGF
MICRON.PCX PCX image files used in the demo program (they
TGS.PCX contain the logos displayed when FGFDEMO starts)
You may modify the FGFDEMO source code any way you want, but please do not
distribute it in a modified form. Note that you must have Fastgraph (or
Fastgraph/Light) and Fastgraph/Fonts to re-link FGFDEMO.
------------------------------------------------------------------------------
Ordering Information
------------------------------------------------------------------------------
The Fastgraph family of products represent a high-performance, comprehensive
development system for graphics programmers. For more information about any
of our products, please call, write, or FAX. You can download evaluation
versions and product demos from our technical support BBS at (702) 796-7134.
We accept Visa, MasterCard, and COD (extra charge for COD orders). Purchase
orders are welcome from most companies, schools, and government agencies.
Site licenses are available for all products. Please call, write, or FAX for
specific details.
For your convenience, the order form below appears by itself in the ORDER.FRM
file.
Order from: Voice: (702) 735-1980
Ted Gruber Software FAX: (702) 735-4603
PO Box 13408 BBS: (702) 796-7134
Las Vegas, NV 89112 CIS: 72000,1642
Name: _____________________________________________________________________
Company: _____________________________________________________________________
Address: _____________________________________________________________________
City: _____________________________________ State: ________ Zip: ________
Phone: _____________________________________ FAX: ________________________
+=====+=========================================+=======+============+=======+
| | | Price | Shipping | |
| Qty | Product Description | Each | Each | Total |
+=====+=========================================+=======+============+=======+
| | | | U.S. $5 | |
| | Fastgraph graphics library | $199 | Canada $7 | |
| | | | Other call | |
+-----+-----------------------------------------+-------+------------+-------+
| | | | U.S. $3 | |
| | Fastgraph/Fonts | $49 | Canada $3 | |
| | bit-mapped font support for Fastgraph | | Other $6 | |
+-----+-----------------------------------------+-------+------------+-------+
| | | | U.S. $3 | |
| | Fastgraph/Image | $49 | Canada $3 | |
| | image management library for Fastgraph | | Other $6 | |
+-----+-----------------------------------------+-------+------------+-------+
| | | | U.S. $3 | |
| | Fastgraph/Fonts and Fastgraph/Image | $88 | Canada $3 | |
| | buy both producs and save! | | Other $6 | |
+-----+-----------------------------------------+-------+------------+-------+
| | | | U.S. $5 | |
| | Graphics Power Pack | $279 | Canada $7 | |
| | Fastgraph, FG/Fonts, and FG/Image | | Other call | |
+=====+=========================================+=======+============+=======+
Subtotal | |
+=======+
Nevada residents add sales tax | |
+=======+
COD orders (U.S. only) add $5 | |
+=======+
Total | |
+=======+
Specify disk format: Method of payment:
[ ] 3.5-inch [ ] payment enclosed
[ ] 5.25-inch [ ] COD
[ ] purchase order # ____________________
[ ] Visa or MasterCard
For credit card orders only:
Card number: _______________________________ Expiration date: __________
Signature: ____________________________________________________________